package com.zkthink.ceres.applet.order.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 服务下单表VO
 * @Author cmz
 * @Date 2024-04-30 10:38
 */

@Data
public class PlaceProductOrderVo {

    /**
     * 产品id
     */
    @ApiModelProperty(value = "产品id",required = true)
    private Long productId;

    @ApiModelProperty(value = "价格")
    private BigDecimal costs;

    /**
     * 支付方式:1-微信支付 2-余额支付
     */
    @ApiModelProperty(value = "支付方式:1-微信支付 2-余额支付",required = true)
    private Integer payChannel;

    /**
     * 所患疾病
     */
    @ApiModelProperty(value = "所患疾病",required = true)
    private String diseasesSuffered;

    /**
     * 患病时间
     */
    @ApiModelProperty(value = "患病时间",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date illnessTime;
    
    
}
